package com.xtaller.easy.admin.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xtaller.common.kit.IdKit;
import java.io.Serializable;

/**
* Created by Taller on 2018/05/13
*/
@SuppressWarnings("serial")
@TableName(value = "v_log")
public class VLog extends Model<VLog> {
  private String id = IdKit.getId(888);
  private String loginName;
  private String ip;
  private String token;
  private String url;
  private String classMethod;
  private String method;
  private String param;
  private String result;
  private String message;
  private Integer time;
  private Integer type;
  private Integer error;
  private Integer createTime;

  public String getId() {
      return id;
  } 
  public void setId(String id) {
      this.id = id;
  } 
  public String getLoginName() { 
      return loginName;
  } 
  public void setLoginName(String loginName) { 
      this.loginName = loginName;
  } 
  public String getIp() { 
      return ip;
  } 
  public void setIp(String ip) { 
      this.ip = ip;
  } 
  public String getToken() { 
      return token;
  } 
  public void setToken(String token) { 
      this.token = token;
  } 
  public String getUrl() { 
      return url;
  } 
  public void setUrl(String url) { 
      this.url = url;
  } 
  public String getClassMethod() { 
      return classMethod;
  } 
  public void setClassMethod(String classMethod) { 
      this.classMethod = classMethod;
  } 
  public String getMethod() { 
      return method;
  } 
  public void setMethod(String method) { 
      this.method = method;
  } 
  public String getParam() { 
      return param;
  } 
  public void setParam(String param) { 
      this.param = param;
  } 
  public String getResult() { 
      return result;
  } 
  public void setResult(String result) { 
      this.result = result;
  } 
  public String getMessage() { 
      return message;
  } 
  public void setMessage(String message) { 
      this.message = message;
  } 
  public Integer getTime() { 
      return time;
  } 
  public void setTime(Integer time) { 
      this.time = time;
  } 
  public Integer getType() { 
      return type;
  } 
  public void setType(Integer type) { 
      this.type = type;
  } 
  public Integer getError() { 
      return error;
  } 
  public void setError(Integer error) { 
      this.error = error;
  } 
  public Integer getCreateTime() { 
      return createTime;
  } 
  public void setCreateTime(Integer createTime) { 
      this.createTime = createTime;
  } 
  @Override
  protected Serializable pkVal() {
      return id;
  }
}
